
enum Method {
  GET = 'GET',
  POST = 'POST',
}

enum Api {
  getHelpDocumentsInfo = '/live/v1/live/pageLive',
  getUserInfo = '/common/upload',
  wechatLogin = '/prod-api/api/operate/wechatLogin',
}

export function getTags(params) {
  return useClientRequest(Api.getHelpDocumentsInfo, { method: Method.GET, params }, { isToken: true })
}

// 

export function ApiAuthWechatLogin(code) {
  return useServerRequest(Api.wechatLogin, { method: Method.POST, body: { code } }, { isToken: false })
}
export function hello(params) {
  return service({
    url: `/live/v1/live/pageLive`,
    method: 'get',
    params
  });
}